package com.smart.model.vo;

import com.smart.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("运营人员响应模型")
public class OperateUserVO extends BaseVO implements Serializable {
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("账号")
    private String account;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("部门")
    private String department;
    @ApiModelProperty("状态 ENABLE启用、DISABLE禁用")
    private String status;
    @ApiModelProperty("权限集合")
    private List<String> permissionCodes;
    @ApiModelProperty("角色集合")
    private List<OperateRoleVO> roles;
}
